package com.itheima.service;

import com.itheima.common.PageBean;
import com.itheima.dto.StudentQueryDto;
import com.itheima.pojo.Student;
import com.itheima.vo.ClazzCountVo;
import com.itheima.vo.StudentItemVo;

import java.util.List;

public interface StudentService {
    PageBean pageQuery(StudentQueryDto dto);

    void delete(List<Integer> ids);

    void insert(Student student);

    Student findById(Integer id);

    void violationHandle(Integer id, Integer score);

    List<StudentItemVo> getStudentDegreeData();

    ClazzCountVo getStudentCountData();

    void update(Student student);
}
